Page({
  data: { 
  },
  onLoad: function(options) {
    console.log(options);
    // url   H5
    // posterUrl   海報
    this.setData({ 
      posterUrl: options.posterUrl || '',
      // skipType: options.skipType,
      uri: options.uri
    })
  }, 
  onShareAppMessage() {
    let params = {
      title: '五粮液云店',
      imageUrl: '',
      path: 'pages/index/indexDetil/index?posterUrl=' + this.data.posterUrl + '&goodsId=' + this.data.goodsId + '&skipType=' + this.data.skipType+'&uri='+this.data.uri
    }
    return params
  },
   
  goBack(){
    wx.navigateBack()
  }
})